package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.ZhiMaCertModel;
import com.yiwei.hdb.model.ZhiMaModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface VerifyContract {
    interface View extends BaseContract.BaseView {
        void getZhiMaValidateSuccess();

        void getZhiMaAuthSuccess(ZhiMaModel item);

        void getZhiMaCertSuccess(ZhiMaCertModel item);
        void getZhiMaCertQuerySuccess();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getZhiMaValidate(String params, String sign);

        void getZhiMaAuth(String deal_id, String name, String idcard);

        void getZhiMaCert(String schema);

        void getZhiMaCertQuery(String biz_no);
    }
}
